package com.lanou3g.k12.mapper;

import com.lanou3g.k12.entity.ArticleCategory;

import java.util.List;

public interface ArticleCategoryMapper {
    List<ArticleCategory> findByKeyword(String keyword);

    List<ArticleCategory> findAll();

    void deleteArticleCategoryByIds(Integer[] ids);

    void insertArticleCategory(ArticleCategory articleCategory);

    ArticleCategory findArticleCategoryById(Long id);

    void updateArticleCategory(ArticleCategory articleCategoryById);

    void deleteArticleCategoryById(Long id);

    List<ArticleCategory> findByKeywordForBackend(String keyword);

    List<ArticleCategory> findAllForBackend();

    ArticleCategory findByIdForBackend(Long id);
}
